# -*- coding: utf-8 -*-
"""
API v1主路由
汇总所有v1版本的API路由
"""

from fastapi import APIRouter

from app.api.v1.endpoints import users, errors, llm

# 创建API路由器
api_router = APIRouter()

# 注册各模块路由
api_router.include_router(
    users.router,
    prefix="/users",
    tags=["用户管理"]
)

api_router.include_router(
    errors.router,
    prefix="/errors",
    tags=["错误测试"]
)

api_router.include_router(
    llm.router,
    prefix="/llm",
    tags=["大模型对话"]
)